{include file="public/header" /}

<script src="__JS__/bootstrap/bootstrap-table-v1.18.0/bootstrap-table.js"></script>
<script src="__JS__/bootstrap/bootstrap-table-v1.18.0/locale/bootstrap-table-zh-CN.min.js"></script>
<link href="__SKIN__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="__JS__/tableExport.js"></script>
<body >

<div class="layui-fluid">
    <div class="layui-card" >


		<blockquote class="layui-elem-quote">
            招标管理
        </blockquote>

      
        <div class="layui-form layui-card-header layuiadmin-card-header-auto" lay-filter="layadmin-userfront-formlist">
            <form id='searchform' role="form" method="get" class="form-inline pull-right">
             
				 
				&nbsp;&nbsp;<button  type="button" class="layui-btn" data-type="search" id="search">搜索</button>
			</form>

        </div>
		<div id="toolbar" style="padding-bottom: 10px;">
			{$toolbar}
            <button type="button" class="layui-btn fileUpload" id="fileUpload" style="display: none"><i class="layui-icon"></i>导入</button>
		</div>
        <table id="listTable" class="layui-table table">
            <thead>
                <tr>
                  					
					<th data-field='mark_name'  data-formatter='' >项目名称</th>
<th data-field='mark_number'  data-formatter='' >招标标号</th>
<th data-field='linkman'  data-formatter='' >招标联系人</th>
<th data-field='moblie'  data-formatter='' >招标联系电话</th>
<th data-field='start_time'  data-formatter='' >发布日期</th>
<th data-field='end_time'  data-formatter='' >截止时间</th>

					
                    <th data-field="operate">操作</th>
                </tr>
            </thead>
        </table>

    </div>



</div>
<script src="__JS__/layui/layui.all.js"></script>
<script src="__JS__/ImportAndExport.js"></script>
    <script type="text/javascript">

     

        function importData() {
            $(".fileUpload").click()
        }

        var $table = $('#listTable');
        var tablename="{$tabblename}";
        var pagnum;//原始配置分页显示数量，导入导出需要使用到
        var downpath = "{:url('Importexcel/downExcelTemplate')}";//模板下载地址
        var importpath = "{:url('Importexcel/tableImoprt')}";//导入
		var nowurl = "{$nowurl}";//数据加载地址
		
        $(function () {
            loaddata("{$nowurl}",1,"listTable");

            $("#search").click(function (e) {
                loaddata("{$nowurl}",1,"listTable");
            });
            layUpload();
        });
		

	
    </script>

</body>


</html>